package com.moneytree.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;

import org.hibernate.annotations.GenericGenerator;

@Entity
public class Repay {

	private String id;
	private Double corpus;
	private Double Interest;
	private Date repaytime;
	private Date actualtime;
	private Integer period;
	private String status;

	@Id
	@GenericGenerator(name = "system-uuid", strategy = "uuid.hex")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Double getCorpus() {
		return corpus;
	}

	public void setCorpus(Double corpus) {
		this.corpus = corpus;
	}

	public Double getInterest() {
		return Interest;
	}

	public void setInterest(Double interest) {
		Interest = interest;
	}

	public Date getRepaytime() {
		return repaytime;
	}

	public void setRepaytime(Date repaytime) {
		this.repaytime = repaytime;
	}

	public Date getActualtime() {
		return actualtime;
	}

	public void setActualtime(Date actualtime) {
		this.actualtime = actualtime;
	}

	public Integer getPeriod() {
		return period;
	}

	public void setPeriod(Integer period) {
		this.period = period;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
